package shap03;
/**
 * @author Administrator
 */
public class PhoneDemo {
    public static void main(String[] args) {
        Phone p2=new Phone();
        p2.setBrand("华为");
        p2.getPrice(2000);
        p2.getColor("white");
        System.out.println("p2的对象的属性为："+p2.getBrand()+"\t"
        +p2.getPrice()+"\t"+p2.getColor());
        p2.book();
        p2.chat();
        p2.play();
    }
}